package com.dyoud.api.shop.employee.dto;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 协议
 * 
 * @author wangshuaifei
 * @date 2018/03/03
 *
 */
public class AgreementDto implements Serializable {
    /**
     * 协议ID
     */
    private Long agreementId;

    /**
     * 协议KEY
     */
    @NotNull(message = "协议KEY不能为空")
    private String agreementKey;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 协议内容
     */
    @NotNull(message = "协议内容不能为空")
    private String agreementContent;

    private static final long serialVersionUID = 1L;

    public Long getAgreementId() {
        return agreementId;
    }

    public void setAgreementId(Long agreementId) {
        this.agreementId = agreementId;
    }

    public String getAgreementKey() {
        return agreementKey;
    }

    public void setAgreementKey(String agreementKey) {
        this.agreementKey = agreementKey;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAgreementContent() {
        return agreementContent;
    }

    public void setAgreementContent(String agreementContent) {
        this.agreementContent = agreementContent;
    }
}